package ${MapStruct};

import ${package.Entity}.${entity};
import ${VO}.${entity}VO;
import ${DTO}.${entity}InsertDTO;
import ${DTO}.${entity}UpdateDTO;
import org.mapstruct.Mapper;
import org.mapstruct.Mapping;

/**
* @description: ${table.comment!}转化类
* @author: ${author}
* @time: ${date}
*/
@Mapper(componentModel = "spring", uses = CentralMappingConverter.class)
public interface ${entity}ConverterMapper {

    ${entity}VO poToVO(${entity} entity);

    ${entity} insertDtoToPO(${entity}InsertDTO dto);

    ${entity} updateDtoToPO(${entity}UpdateDTO dto);

}